package net.bluemind.ysnp;

public interface ICredentialValidator {

	/**
	 * Returns true if the given credential is valid for the given username,
	 * realm & service.
	 * 
	 * @param username
	 * @param credential
	 * @param realm
	 * @param service
	 * @return
	 */
	boolean validate(String username, String credential, String realm,
			String service);

}
